package com.bwie.service;

import com.bwie.pojo.TbProd;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.pojo.TbProdAtta;
import com.bwie.utils.R;
import com.bwie.vo.PageInfoVo;
import com.bwie.vo.ProdPageVo;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【tb_prod(商品表)】的数据库操作Service
* @createDate 2025-06-20 15:28:36
*/
public interface TbProdService extends IService<TbProd> {

    R getProdList(ProdPageVo prodPageVo);

    R addProd(TbProd tbProd);

    R addProdAtta(TbProdAtta tbProdAtta);

    R deleteBatchProd(List<Integer> ids);

    R deleteProd(Integer id);

    R getProdFromEs(ProdPageVo prodPageVo);
}
